package com.tdrc.common.beans;

import java.util.List;

/**
 * @author dpf
 * @version 1.0
 * @date 2020-4-7 11:21
 * @instruction 单位表
 */
public class Unit {
    private Integer unitId;
    private String unitName;
    private Integer upUnitId;
    private Integer unitTypeId;
    private String unitCode;
    private String leader;
    private String contact;
    private Integer filter;
    private String memo;
    private List<Unit> children;
    public Unit(){

    }

    public Unit(Integer unitId, String unitName, Integer upUnitId, Integer unitTypeId, String unitCode, String leader, String contact, Integer filter, String memo, List<Unit> children) {
        this.unitId = unitId;
        this.unitName = unitName;
        this.upUnitId = upUnitId;
        this.unitTypeId = unitTypeId;
        this.unitCode = unitCode;
        this.leader = leader;
        this.contact = contact;
        this.filter = filter;
        this.memo = memo;
        this.children = children;
    }

    public Integer getUnitId() {
        return unitId;
    }

    public void setUnitId(Integer unitId) {
        this.unitId = unitId;
    }

    public String getUnitName() {
        return unitName;
    }

    public void setUnitName(String unitName) {
        this.unitName = unitName;
    }

    public Integer getUpUnitId() {
        return upUnitId;
    }

    public void setUpUnitId(Integer upUnitId) {
        this.upUnitId = upUnitId;
    }

    public Integer getUnitTypeId() {
        return unitTypeId;
    }

    public void setUnitTypeId(Integer unitTypeId) {
        this.unitTypeId = unitTypeId;
    }

    public String getUnitCode() {
        return unitCode;
    }

    public void setUnitCode(String unitCode) {
        this.unitCode = unitCode;
    }

    public String getLeader() {
        return leader;
    }

    public void setLeader(String leader) {
        this.leader = leader;
    }

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }

    public Integer getFilter() {
        return filter;
    }

    public void setFilter(Integer filter) {
        this.filter = filter;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public List<Unit> getChildren() {
        return children;
    }

    public void setChildren(List<Unit> children) {
        this.children = children;
    }
}
